package cn.xej.demo;

import com.google.common.collect.Lists;

import java.util.List;

/**
 * @Author alicat.xu
 * @Date 2021/10/18 7:20 下午
 */
public enum InstanceTypeEnum{

    PERCENTILE_95(2,"PERCENTILE_95", Lists.newArrayList("bps","mbps"),"BY_USAGE"),

    FLOW(1, "FLOW", Lists.newArrayList("Bps", "Mbps"), "BY_FREQUENCY"),

    TIME(0, "TIME", Lists.newArrayList("year", "month", "hour"), "BY_TIME");

//    PERCENTILE_95(2,Lists.newArrayList("bps","mbps"),"BY_USAGE"),
//
//    FLOW(1,  Lists.newArrayList("Bps", "Mbps"), "BY_FREQUENCY"),
//
//    TIME(0, Lists.newArrayList("year", "month", "hour"), "BY_TIME");


    private Integer      code;
    private String       value;
    private List<String> unitList;
    private String       codeValue;

    public Integer getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }

    public List<String> getUnitList() {
        return unitList;
    }

    public String getCodeValue() {
        return codeValue;
    }

    InstanceTypeEnum(Integer code, String value, List<String> unitList, String codeValue) {
        this.code = code;
        this.value = value;
        this.unitList = unitList;
        this.codeValue = codeValue;
    }
}
